<template>
    <div>
        <!-- 面包屑 -->
        <bread-crumb :names="['首页','商品管理','商品分类']"></bread-crumb>
              <h2>此页面为开发人员测试页,您可不予理会</h2>
        <!-- 卡片 -->
        <el-card>
                <!-- 按钮 -->
            <el-row>
                <el-col>
                    <el-button type='primary' @click="popupAddCategoryDialog">添加分类</el-button>
                </el-col>
            </el-row>
              <!-- 表格  -->
             <tree-table></tree-table>
        </el-card>
    </div>
</template>

<script>
import BreadCrumb from 'common/BreadCrumb';
import TreeTable from './categoryChildren/TreeTable'
export default {
            name:'Category',
            components:{BreadCrumb,TreeTable},
            methods:{
                popupAddCategoryDialog(){
                    this.$bus.$emit('popupDialog')
                }
            }
}
</script>

<style lang='less' scoped>
        
</style>